package com.brillilab.domain.po.system;


import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonInclude;





//(value = "字典表")
@TableName("dict")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Dict implements Serializable{

  private static final long serialVersionUID = 1L;

  /**
   * ID
   */
  @TableId(type=IdType.AUTO)
  private Long id;
  /**
   * 名称
   */
  private String name;
  /**
   * 代码
   */
  private Integer code;
  /**
   * 类型
   */
  private String type;
  /**
   * 排序编号
   */
  private Integer sortNo;

  //(value="创建时间")
  private Date createTime;

  //(value="修改时间")
  private Date updateTime;
  
  public Date getCreateTime() {
	return createTime;
}

public void setCreateTime(Date createTime) {
	this.createTime = createTime;
}

public Date getUpdateTime() {
	return updateTime;
}

public void setUpdateTime(Date updateTime) {
	this.updateTime = updateTime;
}

public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public Integer getCode() {
    return code;
  }

  public void setCode(Integer code) {
    this.code = code;
  }


  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }


  public Integer getSortNo() {
    return sortNo;
  }

  public void setSortNo(Integer sortNo) {
    this.sortNo = sortNo;
  }



  @Override
  public String toString() {
    return "Dict{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", code=" + code +
            ", type='" + type + '\'' +
            ", sortNo=" + sortNo +
            '}';
  }
}
